package com.atguigu.spzx.manner.service;

import com.atguigu.spzx.model.dto.AssginRoleDto;
import com.atguigu.spzx.model.dto.SysRoleDto;
import com.atguigu.spzx.model.entity.SysRole;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SysRoleService {

    PageInfo<SysRole> findByPage(Integer pageNum, Integer pageSize, SysRoleDto sysRoleDto);

    void updateSysRole(SysRole sysRole);

    void saveSysRole(SysRole sysRole);

    void delete(Long id);

    List<SysRole> findAllRoles();

    List<Long> findAllRolesById(Integer id);

    void doAssign(AssginRoleDto assginRoleDto);
}
